package org.yxt.springcloud.service.fallback;

import org.springframework.stereotype.Component;
import org.yxt.springcloud.entities.CommonResult;
import org.yxt.springcloud.service.SentinelPaymentService;

@Component
public class SentinelPaymentFallbackImpl implements SentinelPaymentService {
    @Override
    public CommonResult getFallBackVal(int number) {
        return new CommonResult(0, "这里是服务降级处理");
    }
}
